package org.biubiu0002.baiblog.core.async.event;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: biubiu0002
 * @Date: 2022-05-22 17:42
 **/
@Data
@NoArgsConstructor
public class UpdateUserStatusEvent {
    /**
     * 用户uid
     */
    private String userUid;

    /**
     * 旧状态
     */
    private Integer oldStatus;

    /**
     * 新状态
     */
    private Integer newStatus;
    /**
     * 用户状态
     */
    private Integer status;

    public UpdateUserStatusEvent(String userUid, Integer oldStatus, Integer newStatus){
        this.userUid = userUid;
        this.oldStatus = oldStatus;
        this.newStatus = newStatus;
    }
}
